$(document).ready(function(){
	$('.lst-cate-menu li a').hover(function(){
		$(this).css({'text-decoration':'underline'});
	},function(){
		$(this).css({'text-decoration':'none'});
		$('.sub-active').css('text-decoration','underline');
	});
});
function getArticle(obj,menu_id,cate_id,menu){
	$(obj).parent().parent().find('a').css({'text-decoration':'none'}).removeClass('sub-active');	
	$.ajax({
		url:"index.php",
		type:"POST",
		data: {
			com:"category",
			action:"getarticle",
			mid:menu_id,
			cid:cate_id,
			menu:menu
		},
		beforeSend:function(){
			$('.menu-title-' + menu_id).addClass('load-article');
		},
		success:function(result){
			$('.menu-title-' + menu_id).removeClass('load-article');
			$('.tmp-artiles-' + menu_id).hide().html(result).slideDown('slow');
			$(obj).addClass('sub-active').css('text-decoration','underline');
		}
	});
}